<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="smvc" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="${smvc}/js/jquery-3.1.1.js"></script>
<title>添加学生</title>
</head>
<body>
	<h2 align="center">维护学生资料</h2>
	<form id="student" name="student" action="${smvc}/student/doEdit" method="post">
		<input name="id" type="hidden" value="${student.id}">
		<table align="center">
			<tr>
				<td>姓名</td>
				<td><input type="text" name="sname" value="${student.sname}"></td>
			</tr>
			<tr>
				<td>密码</td>
				<td><input type="text" name="passWord" value="${student.passWord}"></td>
			</tr>
			<tr>
				<td>真实姓名</td>
				<td><input type="text" name="trueName" value="${student.trueName}"></td>
			</tr>
			<tr>
				<td>班级</td>
				<td><input type="text" name="classID" value="${student.classID}"></td>
			</tr>
			<tr>
				<td>电话</td>
				<td><input type="text" name="phone" value="${student.phone}"></td>
			</tr>
			<tr>
				<td>电子邮件</td>
				<td><input type="text" name="email" value="${student.email}"></td>
			</tr>
			<tr>
				<td>QQ</td>
				<td><input type="text" name="QQ" value="${student.QQ}"></td>
			</tr>
			<tr>
				<td>地址</td>
				<td><input type="text" name="address" value="${student.address}"></td>
			</tr>
			<tr>
				<td>生日</td>
				<td><input type="text" name="birthday" value="${student.birthday}"></td>
			</tr>
			
		</table>
		<button id="addButton">提交</button>
	</form>
</body>
</html>
<script>
	
	
</script>